package com.gwt.boot.constant;

public enum CommonEnum {
    DELETE(0, "删除"),
    USED(1, "在用"),
    DISABLE(0, "停用"),
    ENABLE(1, "启用"),
    SEX_MAN(0, "男"),
    SEX_WOMAN(1, "女"),
    SEX_OTHER(2, "其它"),
    NO(0, "否"),
    YES(1, "是"),
    SOURCE_WECHAT(1, "来源-微信"),
    SOURCE_PAY(2, "来源-支付宝"),

    ;

    CommonEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    private final Integer code;

    private final String value;

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
